export declare const bot: Bot

/**
 * 标识插件
 * @param name 插件名
 */
export function Plugin(name: string): <T extends {
    new(...args: any[]): {}
}>(arg0: T, arg1: ClassDecoratorContext) => T {
    return function <T extends { new(...args: any[]): {} }>(clazz: T, context: ClassDecoratorContext): T {
        //bot.registerPlugin(name, clazz)
        return clazz
    }
}

/**
 * 标识正则表达式
 * @param pat
 */
export function regex(pat: string) {
}

export declare class GroupMessageEvent {
}

export declare class Bot {
    //registerPlugin(name: string, pluginClass: Function): void

    info(msg: string): void
}